home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / xconq-7.1.0 / test / test-test.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1996-07-07  |  467 b   |  19 lines  |  [TEXT/R*ch]

  1. #!/bin/csh
  2. # Iterate through all test modules, attempting to start up,
  3. # do some simple commands, and quit.
  4.  
  5. set srcdir = $1
  6.  
  7. set logname = test.log
  8.  
  9. /bin/rm -f $logname
  10. echo Test started on `date` > $logname
  11. foreach i ( $srcdir/../test/*.g )
  12.     echo $i
  13.     echo "" >>$logname
  14.     echo ">>> Running skelconq on: " $i "<<<" >>$logname
  15.     echo "" >>$logname
  16.     ../kernel/skelconq -f $i -L$srcdir/../lib <$srcdir/libtest.inp >>&$logname
  17. end
  18. echo Test finished on `date` >> $logname
  19.